home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 44 / PC Gamer IT CD 44 2-2.iso / peacemaker / Peacemaker / data / SKYTEX.DAT < prev    next >
Text File  |  1999-03-10  |  7KB  |  212 lines

  1. "COLOMBIA"
  2. "Sun"                "sun.sur"
  3. "Sun angle (in degrees)"        45
  4. "Sun_size (in m)"   800
  5. "Sun_height (in m)"   4000
  6. "QUARTER_MOON"        "moon.sur"  "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 10 "Max Alpha(0-255):" 70
  7. "HALF_MOON"           "moon2.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 80
  8. "THREE_QUARTER_MOON"  "moon3.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 90
  9. "FULL_MOON"           "moon4.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 30 "Max Alpha(0-255):" 100
  10.  
  11. "CLEAR"
  12. "Sky texture"   "NONE"
  13. "Skytop texture"  "NONE"
  14. "Tile size (in m)"      5000
  15. "Num tiles along sky"   3
  16. "Tile factor"       1
  17. "Cloud top (in m)"      700
  18. "Cloud bottom (in m)"   695
  19. "Horizon Offset (in m)" 0
  20.  
  21. "FINE"
  22. "Sky texture"   "skytopc.sur"
  23. "Skytop texture"  "skytopc.sur"
  24. "Tile size (in m)"      5000
  25. "Num tiles along sky"   3
  26. "Tile factor"       1
  27. "Cloud top (in m)"      700
  28. "Cloud bottom (in m)"   695
  29. "Horizon Offset (in m)" 0
  30.  
  31. "OVERCAST"
  32. "Sky texture"   "sky2c.sur"
  33. "Skytop texture"    "sky3.sur"
  34. "Tile size (in m)"      5000
  35. "Num tiles along sky"   3
  36. "Tile factor"       1
  37. "Cloud top (in m)"    725
  38. "Cloud bottom (in m)"   695
  39. "Horizon Offset (in m)" 0
  40.  
  41. "RAIN"
  42. "Sky texture"   "sky2c.sur"
  43. "Skytop texture"    "sky3.sur"
  44. "Tile size (in m)"      5000
  45. "Num tiles along sky"   3
  46. "Tile factor"       1
  47. "Cloud top (in m)"    725
  48. "Cloud bottom (in m)"   695
  49. "Horizon Offset (in m)" 0
  50.  
  51. "STORM"
  52. "Sky texture"   "sky2c.sur"
  53. "Skytop texture"    "sky3.sur"
  54. "Tile size (in m)"      5000
  55. "Num tiles along sky"   3
  56. "Tile factor"       1
  57. "Cloud top (in m)"    725
  58. "Cloud bottom (in m)"   695
  59. "Horizon Offset (in m)" 0
  60.  
  61. "INCOMING STORM"
  62. "Sky texture"   "sky2c.sur"
  63. "Skytop texture"    "sky3.sur"
  64. "Tile size (in m)"      5000
  65. "Num tiles along sky"   3
  66. "Tile factor"       1
  67. "Cloud top (in m)"    725
  68. "Cloud bottom (in m)"   695
  69. "Horizon Offset (in m)" 0
  70.  
  71. "SNOW"
  72. "Sky texture"   "sky3.sur"
  73. "Skytop texture"    "sky3.sur"
  74. "Tile size (in m)"      5000
  75. "Num tiles along sky"   3
  76. "Tile factor"       1
  77. "Cloud top (in m)"    725
  78. "Cloud bottom (in m)"   695
  79. "Horizon Offset (in m)" 0
  80.  
  81. "FOG"
  82. "Sky texture"   "skytopc.sur"
  83. "Skytop texture"  "skytopc.sur"
  84. "Tile size (in m)"      5000
  85. "Num tiles along sky"   3
  86. "Tile factor"       1
  87. "Cloud top (in m)"      700
  88. "Cloud bottom (in m)"   695
  89. "Horizon Offset (in m)" 0
  90.  
  91. "RUSSIA"
  92. "Sun"                "sun.sur"
  93. "Sun angle (in degrees)"        -45
  94. "Sun_size (in m)"   800
  95. "Sun_height (in m)"   4000
  96. "QUARTER_MOON"        "moon.sur"  "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 10 "Max Alpha(0-255):" 70
  97. "HALF_MOON"           "moon2.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 80
  98. "THREE_QUARTER_MOON"  "moon3.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 20 "Max Alpha(0-255):" 90
  99. "FULL_MOON"           "moon4.sur" "Size:" 150 "Height:" 2500 "Angle:" 30 "Azimuth:" 115 "Moonlight Intensity(0-100):" 30 "Max Alpha(0-255):" 100
  100.  
  101. "CLEAR"
  102. "Sky texture"   "NONE"
  103. "Skytop texture"  "NONE"
  104. "Tile size (in m)"      3000
  105. "Num tiles along sky"   5
  106. "Tile factor"       1
  107. "Cloud top (in m)"      700
  108. "Cloud bottom (in m)"   695
  109. "Horizon Offset (in m)" 0
  110.  
  111. "FINE"
  112. "Sky texture"   "skytopr.sur"
  113. "Skytop texture"  "skytopr.sur"
  114. "Tile size (in m)"      3000
  115. "Num tiles along sky"   5
  116. "Tile factor"       1
  117. "Cloud top (in m)"      700
  118. "Cloud bottom (in m)"   695
  119. "Horizon Offset (in m)" 0
  120.  
  121. "OVERCAST"
  122. "Sky texture"   "sky2r.sur"
  123. "Skytop texture"    "sky3.sur"
  124. "Tile size (in m)"      5000
  125. "Num tiles along sky"   3
  126. "Tile factor"       1
  127. "Cloud top (in m)"    725
  128. "Cloud bottom (in m)"   695
  129. "Horizon Offset (in m)" 0
  130.  
  131. "RAIN"
  132. "Sky texture"   "sky2r.sur"
  133. "Skytop texture"    "sky3.sur"
  134. "Tile size (in m)"      5000
  135. "Num tiles along sky"   3
  136. "Tile factor"       1
  137. "Cloud top (in m)"    725
  138. "Cloud bottom (in m)"   695
  139. "Horizon Offset (in m)" 0
  140.  
  141. "STORM"
  142. "Sky texture"   "sky2r.sur"
  143. "Skytop texture"    "sky3.sur"
  144. "Tile size (in m)"      5000
  145. "Num tiles along sky"   3
  146. "Tile factor"       1
  147. "Cloud top (in m)"    725
  148. "Cloud bottom (in m)"   695
  149. "Horizon Offset (in m)" 0
  150.  
  151. "INCOMING STORM"
  152. "Sky texture"   "sky2r.sur"
  153. "Skytop texture"    "sky3.sur"
  154. "Tile size (in m)"      5000
  155. "Num tiles along sky"   3
  156. "Tile factor"       1
  157. "Cloud top (in m)"    725
  158. "Cloud bottom (in m)"   695
  159. "Horizon Offset (in m)" 0
  160.  
  161. "SNOW"
  162. "Sky texture"   "sky3.sur"
  163. "Skytop texture"    "sky3.sur"
  164. "Tile size (in m)"      5000
  165. "Num tiles along sky"   3
  166. "Tile factor"       1
  167. "Cloud top (in m)"    725
  168. "Cloud bottom (in m)"   695
  169. "Horizon Offset (in m)" 0
  170.  
  171. "FOG"
  172. "Sky texture"   "skytopr.sur"
  173. "Skytop texture"  "skytopr.sur"
  174. "Tile size (in m)"      3000
  175. "Num tiles along sky"   5
  176. "Tile factor"       1
  177. "Cloud top (in m)"      700
  178. "Cloud bottom (in m)"   695
  179. "Horizon Offset (in m)" 0
  180.  
  181.  #Comments
  182.  
  183.  extern void setup_sky(sSInt height,      // altitude of cloud base
  184.                     sSInt topheight,    // altitude of cloud top
  185.                     sSInt tile_size,      // size of tile
  186.                     sSInt size,            // number of tiles down the side
  187.                     sUInt tile_factor,    // number of times the texture is tiled on a tile - <1 forced use of old method
  188.                     char *name,            // name of texture
  189.                     sSInt dx,            // wind vector
  190.                     sSInt dy);
  191.  
  192. // Defaults will be used if 0 is passed to any of the first four parameters.
  193. //
  194. // If tile_factor if less than or equal to zero, the old method of setting up
  195. // sky will be used, where polygons are added and removed from the egde of the
  196. // shape with movememt. A value of one, will cause the shape to be set up the
  197. // same as before, with the same number of polys (size*size), but cloud movement
  198. // relative to the viewer will be done by moving the texture coordinates, and
  199. // keeping the shape stationary relative to the viewer. a value of > 1 will
  200. // use this method, and also repeat the texture the specified number of times
  201. // in the polygon. It is recomended that the sky shape be made of at least 4
  202. // polys (size=2) to avoid problems with mipmapping and fogging on 1 very large
  203. // poly. NB tile_size specifies the size of each sky poly, not the tiled texture
  204. // on it.
  205. // extern void setup_sky_fringe(sSInt height, sUInt width_shift, char *name, sBool state);
  206. // Should be called before setup_sky to add an octaganal fringe to the sky polygon
  207. // height is the y size (nb not altitude) of the fringe. width_shift dictates how
  208. // far back the bottom points of the shape will extend (as a proportion of the size
  209. // of the whole sky shape eg 1 will add 50%, 2 25% etc). Name is the name of the .sur
  210. // file to be used to texture the fringe. This should have no mips and be rectangular
  211. // (eg 256x64). State should be set to TRUE to activate, and FALSE to switch off.
  212.